.class Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;
.super Ljava/lang/Object;
.source "FileBackupSettingFragment.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;->a(Ljava/util/ArrayList;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/ArrayList;

.field final synthetic b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;Ljava/util/ArrayList;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    iput-object p2, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->a:Ljava/util/ArrayList;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 10

    .line 1
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 2
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 3
    iget-object p2, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {p2}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p2

    invoke-static {p2}, Les/l30;->a(Landroid/content/Context;)Les/l30;

    move-result-object p2

    const/4 v0, 0x4

    invoke-virtual {p2, v0}, Les/l30;->a(I)Ljava/util/ArrayList;

    move-result-object p2

    .line 4
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v1

    const v2, 0x7f1101a5

    const/16 v3, 0xa

    .line 5
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    const/4 v5, 0x0

    const/4 v6, 0x1

    if-lt v1, v3, :cond_0

    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    new-array v0, v6, [Ljava/lang/Object;

    aput-object v4, v0, v5

    invoke-virtual {p2, v2, v0}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p2

    invoke-static {p1, p2, v6}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    :cond_0
    if-lez v1, :cond_3

    .line 6
    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    .line 7
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Les/o30;

    .line 8
    iget-object v8, v8, Les/o30;->b:Ljava/lang/String;

    invoke-interface {v7, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 9
    :cond_1
    iget-object p2, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->a:Ljava/util/ArrayList;

    invoke-virtual {p2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :cond_2
    :goto_1
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_4

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    .line 10
    invoke-interface {v7, v8}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_2

    .line 11
    invoke-interface {p1, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 12
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->a:Ljava/util/ArrayList;

    .line 13
    :cond_4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    if-nez p2, :cond_5

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f11017f

    invoke-static {p1, p2, v6}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 15
    :cond_5
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 16
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v7

    :cond_6
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_7

    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    .line 17
    new-instance v9, Les/o30;

    invoke-direct {v9}, Les/o30;-><init>()V

    .line 18
    iput-object v8, v9, Les/o30;->b:Ljava/lang/String;

    .line 19
    iput v0, v9, Les/o30;->a:I

    .line 20
    invoke-virtual {p2, v9}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 21
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v8

    add-int/2addr v8, v1

    if-lt v8, v3, :cond_6

    .line 22
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v1

    sub-int/2addr p1, v1

    goto :goto_2

    :cond_7
    const/4 p1, 0x0

    .line 23
    :goto_2
    iget-object v1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Les/l30;->a(Landroid/content/Context;)Les/l30;

    move-result-object v1

    invoke-virtual {v1, p2}, Les/l30;->a(Ljava/util/ArrayList;)Z

    if-lez p1, :cond_8

    .line 24
    iget-object p2, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {p2}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p2

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    new-array v7, v6, [Ljava/lang/Object;

    aput-object v4, v7, v5

    .line 25
    invoke-virtual {v3, v2, v7}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    const v3, 0x7f11017c

    new-array v4, v6, [Ljava/lang/Object;

    .line 26
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v4, v5

    invoke-virtual {v2, v3, v4}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 27
    invoke-static {p2, p1, v6}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_3

    .line 28
    :cond_8
    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    iget-object v1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    const v2, 0x7f11017d

    new-array v3, v6, [Ljava/lang/Object;

    .line 29
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    aput-object p2, v3, v5

    invoke-virtual {v1, v2, v3}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p2

    .line 30
    invoke-static {p1, p2, v6}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    .line 31
    :goto_3
    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;->b:Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p2

    invoke-static {p2}, Les/l30;->a(Landroid/content/Context;)Les/l30;

    move-result-object p2

    invoke-virtual {p2, v0}, Les/l30;->a(I)Ljava/util/ArrayList;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->b(I)V

    return-void
.end method
